package com.kimi.abyss.rbac.domain;

import org.springframework.data.repository.query.ReactiveQueryByExampleExecutor;
import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Mono;

/**
 * no-op
 *
 * @author kimi
 * @date 2021/7/22
 */
@Repository
public interface UserRepository extends ReactiveCrudRepository<User, Integer>, ReactiveQueryByExampleExecutor<User> {

    Mono<User> findByUsername(String username);

}
